package com.lungle.warmdiary.app.model.request;

import java.util.List;

/**
 * Created by zhangxueyuan on 16/9/30.
 *
 * 亲测提交
 */
public class CampaignTestPost {

    /**
     * campaignid : 1
     * rate : 1
     * os : 1
     * content : 很实用
     * images : ["http://img.ma.social-touch.com/m/v/img/201609/95a9c5ae0313db4c6bec80879f2a8252.jpg","http://img.ma.social-touch.com/m/v/img/201609/95a9c5ae0313db4c6bec80879f2a8252.jpg","http://img.ma.social-touch.com/m/v/img/201609/95a9c5ae0313db4c6bec80879f2a8252.jpg"]
     */
    CampaignTest CampaignTest;

    public CampaignTestPost(CampaignTest campaignTest) {
        this.CampaignTest = campaignTest;
    }

    public static class CampaignTest {

        private int campaignid;
        private int rate;
        private int os;
        private String content;
        private List<String> images;

        public CampaignTest(int campaignid, int rate,  String content, List<String> images) {
            this.campaignid = campaignid;
            this.rate = rate;
            this.os = 1;
            this.content = content;
            this.images = images;
        }

        public void setOs(int os) {
            this.os = os;
        }
    }


}
